home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 1607 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: sdd.hp.com!inn
  2. From: Jeff Grimmett <jgrimm@sdd.hp.com>
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: fastest file read method ??
  5. Date: 21 Jan 1996 18:28:14 GMT
  6. Organization: Hewlett-Packard Company
  7. Message-ID: <4du0ju$84b@news.sdd.hp.com>
  8. References: <w9YbsMD4ACazz9@jeff.dame.shnet.org> <w+RYXMD4FC8aRz1@_crisi.blackbox.shnet.org> <4dsalp$t68@news1.halcyon.com>
  9. NNTP-Posting-Host: hpsdv330.sdd.hp.com
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 1.2N (Windows; I; 16bit)
  14.  
  15. sbr@coho.halcyon.com (Stephen Rondeau) wrote:
  16.  
  17. >> What is the fastest way to read a file ?
  18. >
  19. >You might want to consider asynchronous file reads, since all of the
  20. >standard ways of reading a file wait until the read completes before
  21. >continuing. I think you have to go down to the DoIO() function level to
  22. >do this. If you post a request about asynchronous file I/O to this
  23. >newsgroup, someone is likely to know how to do it.
  24.  
  25. It all depends on what you're doing, of course, but if you're looking for 
  26. asynch I/O, there's an archive out there that (I _think_) was released by 
  27. CATS for developers.  If AmiNet doesn't have it, I have it on my BBS and 
  28. could UL it to AmiNet if the liscense in the archive allows (not sure on 
  29. that).  Do a search for keyword ASYNCIO in the archives.
  30.  
  31. Contains full source for things like OpenAsynch, ReadAsynch, WriteAsynch, 
  32. CloseAsynch, etc.  (don't take those function names too literally, I am 
  33. working from memory here!)
  34.  
  35.  
  36.